<div id="isikiri" style="width: 160px">
	<div id="tempatfoto">
		<img src="<?php echo $this->session->userdata('foto'); ?>" width="267" height="400" />
	</div>
    <p>&nbsp;</p>
</div>
	<!---mulai div isikanan --->
    <div id="isikanan"> 
        <div class="din pel"><?php echo $this->session->userdata('nama'); ?> <span class="black">Course History</span>
	</div>
        <div class="din pel3">
        <?php echo $this->load->view('schedule/profile_nav'); ?>

		<div class="clear"></div>
		<!---mulai div biodata --->
		<div id="biodata">
            <div id="available" class="din"><?php echo count($history) ?> Course(s)</div>
            <div id="role">
                <?php foreach($history as $value) {?>
                <p class="rolex"> <span class="roley"><?php echo $value['KODE_PELATIHAN'].'-'.$value['ANGKATAN'].' | '.$value['NAMA_PELATIHAN'] ?></span> Term-<?php echo $value['NO_TERM'].' '.$value['TAHUN'] ?></p>
                <?php } ?>       
            </div>
        </div>
		<!---selesai div biodata --->
	</div>
